
<script type="text/javascript">
// var map;
    function initialize() {
          var myLatlng = new google.maps.LatLng(<?php echo T_googlemap::get_map_google($_GET['address']); ?>);
          var myOptions = {
        zoom: 16,
        center: myLatlng,
        mapTypeId: google.maps.MapTypeId.ROADMAP
    }
var map = new google.maps.Map(document.getElementById("div_id"), myOptions); 
  // Biến text chứa nội dung sẽ được hiển thị
var text;
text= "<b style='color:#00F'><?php echo $_GET['address']; ?></b>";
   var infowindow = new google.maps.InfoWindow(
    { content: text,
        size: new google.maps.Size(100,50),
        position: myLatlng
    });
       infowindow.open(map);    
    var marker = new google.maps.Marker({
      position: myLatlng, 
      map: map,
      title:"<?php echo $_GET['address']; ?>"
  });
};
$(document).ready(function(){
    $('#div_id').ready(function(){
        initialize();
    });
})
</script>

    <div id="div_id" class="google-map"></div>
<style type="text/css">
  #div_id{
    height: 315px;
    /*width: 500px;*/
  }
@media(max-width: 320px){

  #div_id{
    height:300px; 
    width:300px;
  }

}
</style>
